<?php use_helper('Javascript') ?>
<table>
  <tbody>
    <tr>
      <th>Rut:</th>
      <td><?php echo $deudor->getRutDeudor() ?></td>
    </tr>
    <tr>
      <th>Nombres:</th>
      <td><?php echo $deudor->getNombres() ?></td>
    </tr>
    <tr>
      <th>Apellido Paterno:</th>
      <td><?php echo $deudor->getApellidoPaterno() ?></td>
    </tr>
    <tr>
      <th>Apellido Materno:</th>
      <td><?php echo $deudor->getApellidoMaterno() ?></td>
    </tr>
    <tr>
      <th>Tel&eacute;fono Celular:</th>
      <td><?php echo $deudor->getCelular() ?></td>
    </tr>
    <tr>
      <th>Email:</th>
      <td><?php echo $deudor->getEmail() ?></td>
    </tr>
  </tbody>
</table>

<?php echo button_to_remote('Ver Domicilios', array(
		'update'	=> 'list-search-deudordomicilio',
		'url'		=> 'administracion/searchdeudordomicilioupdate?accion=show&iddeudor='.$deudor->getId(),
		'loading'	=> visual_effect('appear','loading'),
		'complete'	=> visual_effect('appear','list-search-deudordomicilio').
						visual_effect('highlight','list-search-deudordomicilio',array('duration' => 1.0)).
						visual_effect('fade','loading'),)) ?>

<div id="list-search-deudordomicilio" class="pop-up" style="display:none"></div>
<div id="ingresa-deudordomicilio" class="pop-up2" style="display:none">
	<table>
		<tbody>
			<tr>
				<td>Desea a&ntilde;adir un domicilio a <?php echo $deudor ?></td>
				<td><?php echo button_to_remote('Si', array(
						'update'	=>'acciones_deudor',
						'url'		=>'administracion/editdeudordomicilio?iddeudor='.$deudor->getId(),
						'loading'=> visual_effect('appear','loading').
										visual_effect('highlight','ingresa-deudordomicilio', array('duration' => 0.5)).
										visual_effect('fade','ingresa-deudordomicilio', array('duration' => 0.5)),
						'complete' => visual_effect('fade','loading', array('duration' => 1.0)),)) ?></td>
				<td><?php echo button_to_function('No',visual_effect('fade','ingresa-deudordomicilio')) ?></td>			
			</tr>
		</tbody>
	</table>
</div>